package com.elhakimz.matra.pattern;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: abiel
 * Date: Feb 16, 2010
 * Time: 8:22:29 PM
 * To change this template use File | Settings | File Templates.
 */
public class SignalType {

    public static final String SIG_TYPE_COMMAND="COMMAND";
    public static final String SIG_TYPE_RESPONSE ="RESPONSE";
    public static final String SIG_SIGN_OK="OK";
    public static final String SIG_SIGN_NOK="NOK";

    public String type;
    public String sign;
    public ISignalSlot sender;
    public Map parameters;

    public SignalType(String type, String sign, ISignalSlot sender, Map parameters) {
        this.type = type;
        this.sign = sign;
        this.sender = sender;
        this.parameters = parameters;
    }
}
